package com.legna.mhxy.support.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.legna.mhxy.support.entity.UserRing;
import com.legna.mhxy.support.vo.UserRingVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRingDao extends BaseMapper<UserRing> {

    UserRing selectUserRing(@Param("typeId") Long typeId, @Param("userId") Long userId);

    List<UserRingVO> selectUserRingDetails(@Param("userId")Long userId,@Param("typeIds")List<Long> typeIds);

    UserRingVO selectUserRingDetail(@Param("id")Long id);
}
